package edu.scause.gs.model;

/**
 * AbstractGoodsInfo entity provides the base persistence definition of the
 * GoodsInfo entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractGoodsInfo implements java.io.Serializable {

	// Fields

	private Integer goodsId;
	private String adminId;
	private String goodsName;
	private String size;
	private String kind;
	private String introduce;
	private Integer stock;
	private Boolean state;
	private Long totalSales;

	// Constructors

	/** default constructor */
	public AbstractGoodsInfo() {
	}

	/** minimal constructor */
	public AbstractGoodsInfo(String goodsName, Integer stock, Boolean state) {
		this.goodsName = goodsName;
		this.stock = stock;
		this.state = state;
	}

	/** full constructor */
	public AbstractGoodsInfo(String adminId, String goodsName, String size,
			String kind, String introduce, Integer stock, Boolean state,
			Long totalSales) {
		this.adminId = adminId;
		this.goodsName = goodsName;
		this.size = size;
		this.kind = kind;
		this.introduce = introduce;
		this.stock = stock;
		this.state = state;
		this.totalSales = totalSales;
	}

	// Property accessors

	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public String getAdminId() {
		return this.adminId;
	}

	public void setAdminId(String adminId) {
		this.adminId = adminId;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getSize() {
		return this.size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getKind() {
		return this.kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public String getIntroduce() {
		return this.introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public Integer getStock() {
		return this.stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public Boolean getState() {
		return this.state;
	}

	public void setState(Boolean state) {
		this.state = state;
	}

	public Long getTotalSales() {
		return this.totalSales;
	}

	public void setTotalSales(Long totalSales) {
		this.totalSales = totalSales;
	}

}